]> dgit.raspbian.org Git - gnome-shell.git/commit
ShellWindowTracker: don't create ShellApps for non-interesting windows
authorDan Winship <danw@gnome.org>
Wed, 9 Mar 2011 13:58:27 +0000 (08:58 -0500)
committerDan Winship <danw@gnome.org>
Tue, 15 Mar 2011 19:37:08 +0000 (15:37 -0400)
commit43020b20b770096e208be4eceae360b0020b5c42
tree225e9816a0245a95c28c4a39e3471ec7dd21e1ff
parent0a3d80b86e66f19586d6253a965e6bcd712ff441
ShellWindowTracker: don't create ShellApps for non-interesting windows

If a process does not have any "interesting" windows, then it can't be
considered a running app. (Previously we were calling
get_app_for_window() before ruling out non-interesting windows, which
ended up calling _shell_app_new_for_window(), which would add the
window to the ShellApp directly, bypassing the is_interesting check.)

https://bugzilla.gnome.org/show_bug.cgi?id=642221
src/shell-window-tracker.c